package day1110_3;

import java.io.*;

//BufferedReader :  readLine()
//PrintWriter:   println()
public class W1 {
    public static void main(String[] args) throws IOException {
        BufferedReader br=
                new BufferedReader(new FileReader("src\\day1110\\W1.java"));//1.
        PrintWriter  pw=new PrintWriter("src\\day1110\\W1.java_bak");
        String  line=null;//2.
        while(   (line=br.readLine())  != null   ){
            System.out.println(line);
            pw.println(line);
        }
        pw.close();
        br.close();//3.
    }
}
